#pragma once

#include "common.h"

#include <QtGui/QListView>
#include <QtCore/QAbstractListModel>

class ResultListModel : public QAbstractListModel
{
//Q_OBJECT
public:
	int rowCount ( const QModelIndex & parent = QModelIndex()) const;
	QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const;

	void addResult ( QString & str );
	void clear ();

private:
	QStringList strList;
};
